#ifndef __forth_h__
#define __forth_h__

#include <iostream.h>
#include <string.h>

#include "queue.h"

class forth {
public :
   bool execute( queue< pgmcell > & pgm ) ;
   void save( char * n ) ;
private :
   bool rexecute( queue< pgmcell > & pgm ) ;
   void interprete( queue< pgmcell > & pgm ) ;
   void compile( queue< pgmcell > & pgm ) ;
   queue< dictionary_cell > dictionary ;
} ;

extern fstack< datacell > data ;
extern queue< pgmcell > pgm ;
extern forth interpreter ;

// modifica puntuale 1

#endif
